// 接口通用返回类型
export interface BaseResponse<T> {
  code: number;
  message: string;
  data: T;
}
// 用户角色
export enum Role {
  ACTIVEMANAGE = "activeManage",
  USERMANAGE = "userManage",
  BANNERMANAGE="bannerManage",
  CHARTS='charts'
}

// table
export interface BaseTable<T>{
  list:T[],
  pagination:{
    size: number
    totals: number 
    currentPage:number
  }
}
export class BaseTableParams {
  public page= 1
  public pageSize = 10
}